@extends('frontend/layouts/flaty_to_bootstrap')

@section('content.titley')
Edit ContainerContent [{{  $container_content->id }}] ::
@parent
@stop

    @section('content.breadcrumb.inner')
    <li><a href="{{  route('home') }}"><i class="icon-home"></i> Dashboard</a><span class="divider"><i class="icon-angle-right"></i></span></li>
    <li><a href="{{  route('car_balance.container_content.index') }}"><i class="icon-home"></i> ContainerContent list</a><span class="divider"><i class="icon-angle-right"></i></span></li>
    <li class="active">Edit ContainerContent [{{  $container_content->id }}] </li>
    @stop

@section('content.main')

<p>{{ link_to_route('car_balance.container_content.index', 'Back to ContainerContent list', null, array('class' => 'btn btn-info')) }}</p>

<div class="row-fluid">
    {{ Form::open(array('route' => array('car_balance.container_content.edit', $container_content->id), 'class' => 'form-horizontal')) }}


    <div class="control-group {{ $errors->first('container_id', ' error') }}">
        <label class="control-label">Container</label>
        <div class="controls">
            {{ Form::select('container_id', $container_list, Input::old('container_id', $container_content->container_id), array('data-placeholder' => 'Container', 'class' => 'chosen span6', 'name' => 'container_id')) }}
            {{ $errors->first('container_id', '<span class="help-inline">:message</span>') }}
        </div>
    </div>
    <div class="control-group {{ $errors->first('purchase_car_id', ' error') }}">
        <label class="control-label">Purchase Car</label>
        <div class="controls">
            {{ Form::select('purchase_car_id', $purchase_car_list, Input::old('purchase_car_id', $container_content->purchase_car_id), array('data-placeholder' => 'Purchase Car', 'class' => 'chosen span6', 'name' => 'purchase_car_id')) }}
            {{ $errors->first('purchase_car_id', '<span class="help-inline">:message</span>') }}
        </div>
    </div>

    <div class="form-actions">
        {{  Form::submit('Submit', array('class' => 'btn btn-info')) }} &nbsp;&nbsp;
        {{  link_to_route('car_balance.container_content.index', 'Cancel', null, array('class' => 'btn ')) }}
    </div>
    {{  Form::close() }}
@stop